﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Category.aspx.cs" Inherits="Pages_Category" %>
<%@ Import Namespace="CoyoEden" %>
<%@ Register Src="~/Views/CategoryPostList.ascx" TagName="CategoryPostList" TagPrefix="uc" %>
<asp:content id="Content1" contentplaceholderid="cphBody" runat="Server">
	<uc:CategoryPostList ID="CategoryPostList1" runat="server" />
	<script type="text/javascript">
	<!--
		$(document).ready(function() {
		if (CategoryPostList) {
			CategoryPostList.Init({
					Asmx: "<%=Utils.AbsoluteWebRoot %>App_Services/Post.asmx/",
					CategoryID: "<%=CategoryID %>",
					InitPagerStr: '<%=InitPagerStr %>',
					ViewPath: "<%=CategoryPostListViewPath %>",
					scrollTarget:"#submenu"
				});
				if (CategoryPostList.InitPager == "") return;
				var initPager = $.evalJSON(CategoryPostList.InitPager);
				SimplePager.Init(initPager, CategoryPostList.Select);
			}
		});

	//-->
	</script>
</asp:content>
